package com.molichuxing.gateway.bff.order.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author zoumingyu
 * @Date 2020年06月18日
 */
@Data
public class EnterpriseAndCarVo extends ResponseRootDto {
    private static final long serialVersionUID = 789779510392730646L;

    @ApiModelProperty(value = "订单号")
    private Long orderCode;

    @ApiModelProperty(value = "企业id（乙方）")
    private Integer enterpriseId;

    @ApiModelProperty(value = "企业名称（乙方）")
    private String enterpriseName;

    @ApiModelProperty(value = "签约分子公司id（甲方）")
    private Integer subcompanyId;

    @ApiModelProperty(value = "签约分子公司名称（甲方）")
    private String subcompanyName;

    @ApiModelProperty(value = "订单剩余保证金")
    private BigDecimal deposit;

    @ApiModelProperty(value = "车型明细")
    private List<EnterpriseModelDetailVo> modelDetail;

    public EnterpriseAndCarVo() {
    }

    public EnterpriseAndCarVo(Long orderCode, Integer enterpriseId, String enterpriseName, Integer subcompanyId, String subcompanyName, BigDecimal deposit, List<EnterpriseModelDetailVo> modelDetail) {
        this.orderCode = orderCode;
        this.enterpriseId = enterpriseId;
        this.enterpriseName = enterpriseName;
        this.subcompanyId = subcompanyId;
        this.subcompanyName = subcompanyName;
        this.deposit = deposit;
        this.modelDetail = modelDetail;
    }


}
